using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Sockets;
using System.Net;

namespace DarkOmen.Common
{
    public abstract class BaseServer : IServer
    {
        #region IServer Members

        public event EventHandler Connect;
        public event EventHandler Disconnect;
        public event EventHandler RecieveData;
        public event EventHandler SendData;
        public event EventHandler ConnectionAttempt;

        public System.Net.Sockets.Socket Socket
        {
            get
            {
                throw new Exception("The method or operation is not implemented.");
            }
            set
            {
                throw new Exception("The method or operation is not implemented.");
            }
        }

        public Guid GUID
        {
            get
            {
                throw new Exception("The method or operation is not implemented.");
            }
            set
            {
                throw new Exception("The method or operation is not implemented.");
            }
        }

        public List<Socket> ClientConnections
        {
            get
            {
                throw new System.NotImplementedException();
            }
            set
            {
            }
        }

        public void OnConnect()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public void OnDisconnect()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public void OnRecieveData()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public void OnSendData()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public void OnConnectionAttempt()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        #endregion
    }
}
